{config_load file="lang/$language/lang_$language.conf" section="shopping_cart"}
{config_load file="lang/$language/lang_$language.conf" section="product_info"}
<table width="100%" cellpadding="4" style="box-shadow: 0 0 3px rgba(0,0,0,.4);background: none repeat scroll 0% 0% rgba(255, 255, 255,.90); padding: 15px;margin-bottom:25px;">
	<tr class="order_details_head">
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td class="w40p fwb">{#text_article#}</td>
		<td class="w15p ac fwb">{#text_qty#}</td>
		<td class="w16p ar fwb">{#text_single#}</td>
		<td class="w16p ar fwb">{#text_total#}</td>
	</tr>
	{foreach name=aussen item=module_data from=$module_content}
		<tr class="p_{$module_data.PRODUCTS_ID_CLEAN} shopping_cart_products">
			<td{if $module_data.PRODUCTS_ATTR_COUNT !=''} rowspan="{$module_data.PRODUCTS_ATTR_COUNT}"{/if} class="w1">
				<a class="cart_link" onclick="showOverlay('cart_quantity'); xajax_delete('{$module_data.PRODUCTS_ID}');" href="{$module_data.DEL_LINK}" title="{#text_remove#}">
					<img src="images/icons/bin-metal-full.png" alt="" />
				</a>
			</td>
			<td{if $module_data.PRODUCTS_ATTR_COUNT !=''} rowspan="{$module_data.PRODUCTS_ATTR_COUNT}"{/if}>
				{if $module_data.PRODUCTS_IMAGE}<img class="img_border" src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.IMAGE_ALT}" />{else}&nbsp;{/if}
			</td>
			<td>
				<a style="text-decoration:none" href="{$module_data.PRODUCTS_LINK}">
					<strong id="p_n_{$module_data.PRODUCTS_ID_CLEAN}">{$module_data.PRODUCTS_NAME}</strong>
				</a>
				{if $module_data.PRODUCTS_NAME_SUFFIX != ''}<span class="products_kind">({$module_data.PRODUCTS_NAME_SUFFIX})</span>{/if}

			</td>
			<td class="w20p ac">
				<a class="cart_link" href="{$module_data.MINUS_LINK}" onclick="showOverlay('cart_quantity'); xajax_minus('{$module_data.PRODUCTS_ID}');" title="{#text_one_remove#}">
					<img src="images/icons/arrow-down.png" alt="" />
				</a>
				{$module_data.PRODUCTS_QTY}
				<a class="cart_link" href="{$module_data.PLUS_LINK}" onclick="showOverlay('cart_quantity'); xajax_plus('{$module_data.PRODUCTS_ID}');" title="{#text_add#}">
					<img src="images/icons/arrow-up.png" alt="" />
				</a>
			</td>
			<td class="w22p ar" id="s_cost_{$module_data.PRODUCTS_ID}">
				{$module_data.PRODUCTS_PRICE}
			</td>
			<td class="w22p ar">
				<span id="cost_{$module_data.PRODUCTS_ID}">{$module_data.PRODUCTS_PRICE_TOTAL}</span>
			</td>
		</tr>
		{if $module_data.ATTRIBUTES}
			{foreach key=key_data item=item_data from=$module_data.ATTRIBUTES}
				<tr class="p_{$module_data.PRODUCTS_ID_CLEAN}">
					<td>
						<em>{$item_data.NAME}: {$item_data.VALUE_NAME}{if $item_data.MODEL} | {#text_model#} {$item_data.MODEL}{/if}</em>
					</td>
					<td class="ac" id="a_q_{$item_data.ATTR_ID}">
						<em>{$item_data.ATTR_QTY}</em>
					</td>
					<td class="ar" id="a_s_{$item_data.ATTR_ID}">
						<em>{$item_data.PREFIX}{$item_data.SINGLE_PRICE}</em>
					</td>
					<td class="ar" id="a_t_{$item_data.ATTR_ID}">
						<em>{$item_data.PREFIX}{$item_data.PRICE}</em>
					</td>
				</tr>
			{/foreach}
			<tr class="p_{$module_data.PRODUCTS_ID_CLEAN}">
				<td colspan="3">&nbsp;</td>
				<td class="ar"><nobr>{#text_total#}: <u id="ts_{$module_data.PRODUCTS_ID_CLEAN}">{$module_data.PRODUCTS_PRICE_TOTAL}</u></nobr></td>
			</tr>
		{/if}
    <tr class="p_{$module_data.PRODUCTS_ID_CLEAN}" >
      <td colspan="2">&nbsp;</td>
			<td class="cart_prod-descr" style="padding-bottom:0px;" colspan="2" class="w1">

        {$module_data.PRODUCTS_DESCRIPTION}
      </td>
    </tr>
		{if $module_data.OPTIONS}
			<tr class="p_{$module_data.PRODUCTS_ID_CLEAN} shopping_cart_product_options">
				<td colspan="2">&nbsp;</td>
				<td style="padding-top:0px;" colspan="2" class="w1">

			{foreach item=option from=$module_data.OPTIONS.DESCRIPTION}
				{if $option.option_name != ''} <span style="font-size:12px;display:block"><b>{$option.option_name}:</b> {$option.option_value} </span> {/if}
			{/foreach}

				</td>
			</tr>

		{/if}
    {if $module_data.PRODUCTS_SHIPPING_TIME neq ""}
					<tr class="p_{$module_data.PRODUCTS_ID_CLEAN}" >
            <td style="padding-bottom:25px" colspan="2">&nbsp;</td>
            <td><span class="fs85"><em>{#text_shippingtime#} {$module_data.PRODUCTS_SHIPPING_TIME}</em></span>
            </td>
          </tr>
				{/if}



	{/foreach}
	<tr class="bts">
		<td colspan="4" class="va-t">
			{$MODULE_gift_cart}
		</td>
		<td colspan="2" class="va-t">
			<div class="order_details_totalcost">
				{$TOTAL_CONTENT}
				{foreach name=aussen item=shipping_data from=$shipping_content}
					{$shipping_data.NAME} ({$COUNTRY}): {$shipping_data.VALUE}<br />
				{/foreach}
				{$UST_CONTENT}
				{$TOTAL_CONTENT_NETTO}

				{if $TOTAL}
					<div class="ot_total">{#text_total#}: {$TOTAL}</div>
				{elseif !$shipping_content}
					{if $SHIPPING_INFO}{$SHIPPING_INFO}{/if}
				{/if}
				{$SELECT_COUNTRY}
			</div>
		</td>
	</tr>
</table>
